<?php

class CoverageFile extends BaseCoverageFile
{
    public static function saveInfo(File $file, $info)
    {
        foreach ($info['lines'] as $num => $line) {
            CoverageLineStatus::saveLineInfo($file, $num, $line);
        }
    }
    
    public static function saveIfNotExists( $params = null )
    {
        return parent::saveIfNotExists( $params, __CLASS__ );
    }    
}